﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblCOURSEService
	{
		private static readonly tblCOURSEDAL db = new tblCOURSEDAL();
		#region[tblCOURSE_GetById]
		public static DataTable tblCOURSE_GetById(string Id)
		{
			return db.tblCOURSE_GetById(Id);
		}
		#endregion
		#region[tblCOURSE_GetByAll]
		public static DataTable tblCOURSE_GetByAll()
		{
			return db.tblCOURSE_GetByAll();
		}
		#endregion
		#region[tblCOURSE_GetByTop]
		public static DataTable tblCOURSE_GetByTop(string Top, string Where, string Order)
		{
			return db.tblCOURSE_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblCOURSE_Insert]
		public static void tblCOURSE_Insert(tblCOURSEInfo Data)
		{
			 db.tblCOURSE_Insert(Data);
		}
		#endregion
		#region[tblCOURSE_Update]
		public static void tblCOURSE_Update(tblCOURSEInfo Data)
		{
			 db.tblCOURSE_Update(Data);
		}
		#endregion
		#region[tblCOURSE_Delete]
		public static void tblCOURSE_Delete(string Id)
		{
			 db.tblCOURSE_Delete(Id);
		}
		#endregion
	}
}